package com.example.interesting.distributed.lock.test.service;

import com.example.interesting.distributed.lock.test.dto.UserDTO;

/**
 * @author fyw
 * @version 1.0
 * @description: 测试分布式锁
 * @date 2024/3/17 14:34
 */
public interface LockService {

    /**
     * 编程式锁
     */
    void programmaticLocking();

    /**
     * 注解式锁
     */
    void annotationLocking(UserDTO userDTO);

}
